package io.github.harmonly.service;

import io.github.harmonly.entity.activity.Participant;
import io.github.harmonly.entity.association.Member;

import java.util.List;

public interface ParticipantService {

    List<Participant> getParticipants();

    List<Participant> getParticipantByActivity(int cid);

    List<Participant> getParticipantByUser(int uid);

    boolean addParticipant(Participant participant);

    boolean deleteParticipant(Participant participant);

    boolean isJoin(Participant participant);
}
